package com.erdos.core.service;

import java.util.List;
import java.util.Map;

import com.erdos.common.service.BaseService;
import com.erdos.core.entity.Facility;

public interface FacilityService extends BaseService<Facility> {

	public Map<String, String> findFacilityValueMap();
	
	/**
	 * 根据三级工厂代码查询工厂对象
	 * @param facilityId 三级工厂代码
	 * @return
	 * @author xiali2
	 * @since  2008-9-26
	 */
	public List<Facility> findByFacilityIds(String facilityIds);
	
	/**
     * 根据三级工厂代码查询工厂对象
     * @param facilityId 三级工厂代码
     * @return
     * @author xiali2
     * @since  2008-9-26
     */
    public Facility findByFacilityId(String facilityId);
    
    /**
     * 根据三级工厂串 找到四级工厂号
     * @param facilityIds
     * @return
     * @author ShuWei
     * @since  2009-3-25
     */
    public String findByFacilityids(String facilityIds);
}
